package testJavaUtils.threadFactory;

import java.util.concurrent.TimeUnit;

public class Task implements Runnable {  
   @Override  
   public void run()  
   {  
      try  
      {  
         TimeUnit.SECONDS.sleep(2);  
      } catch (InterruptedException e)  
      {  
         e.printStackTrace();  
      }  
   }  
} 
